<?php

class PlayerCrudController extends Controller
{
	public $crdPlayer;
	public function __construct()
	{
		$this->crdPlayer= new crud_player(); 
	}
	
	public function actionIndex()
	{
		$this->render('index');
	}
	
	public function actionGetAllPlayer()
	{
		$this->crdPlayer->getAllPlayer();
	}
	
	public function actionInsert()
	{
		$this->crdPlayer->insert();
	}
	
	public function actionUpdate()
	{
		$this->crdPlayer->update();
	}
	
	public function actionDelete()
	{
		$this->crdPlayer->delete();
	}
	
}